// pages/detail/detail.js
var app = getApp();
Page({
  data: {
    movies: [
      { url: 'http://img04.tooopen.com/images/20130712/tooopen_17270713.jpg' },
      { url: 'http://img04.tooopen.com/images/20130617/tooopen_21241404.jpg' },
      { url: 'http://img04.tooopen.com/images/20130701/tooopen_20083555.jpg' }
    ]
  },
  onLoad: function () {
  },
  bindFocus: function () {
    // console.log("跳转")
    wx.switchTab({
      url: '../search/search',
    })
  }
})